package co.unal.sim.queque;

/**
 * Clase que contiene los datos de un servicio.
 * 
 * @author Michael Salgado
 * @version 1.0
 */
public class Service {
	public static final int BUSY = 1;
	public static final int IDLE = 0;
	
	private final String name;
	private int serverStatus;
	private int numCustDelayed;
	private double meanService;
	
	public Service(String name) {
		this.name = name;
		serverStatus = IDLE;
	}
	
	public Service(String name, double meanService) {
		this.name = name;
		this.meanService = meanService;
		serverStatus = IDLE;
	}
	
	public int getServerStatus() {
		return serverStatus;
	}
	
	public void setServerStatus(int serverStatus) {
		this.serverStatus = serverStatus;
	}
	
	public int getNumCustDelayed() {
		return numCustDelayed;
	}
	
	public void setNumCustDelayed(int numCustDelayed) {
		this.numCustDelayed = numCustDelayed;
	}
	
	public double getMeanService() {
		return meanService;
	}
	
	public void setMeanService(double meanService) {
		this.meanService = meanService;
	}

	public String getName() {
		return name;
	}
}
